<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="renderer" content="webkit|ie-comp|ie-stand">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <title>应付账款</title>
</head>

<body>
  <div id="app">
    <div class="in-balance">
      <el-tabs v-model="activeMenu" class="full-tabs" v-if="menus.length>0">
        <el-tab-pane lazy v-for="menu in menus" :key="menu.name" :label="menu.label" :name="menu.name">
          <component :is="menu.url" class="menu-item"></component>
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</body>

<script src="https://upload.shinehao.com.cn/20190523111638xlsx.full.min.js"></script>
<script src="https://upload.shinehao.com.cn/20190523111634xlsx-style.full.min.js"></script>
<script src="https://upload.shinehao.com.cn/20180809110727FileSaver.min.js"></script>
<script src="https://upload.shinehao.com.cn/20180809110421Blob.js"></script>
<script src="../../static/excel/Export2Excel.js"></script>
<script src="../../myJs/importFile.js"></script>
<script>
  importFile([
    "/vueSystem/components/css/sysCommonSearch.css",
    "/vueSystem/components/css/searchBtnView.css",
    "./css/advancePayment.css",
    "./css/paymentForm.css",
    "./css/materialBalance.css",
    "./css/outOrderBalance.css",
    "./css/materialBalanceStat.css",
    "./css/outOrderBalanceStat.css"
  ], [
    "/vueSystem/i18n/index.js",
    "/vueSystem/js/permissionUtil.js",
    "/vueSystem/js/checkVaildUtil.js",
    "/vueSystem/components/sysCommonSearch.js",
    "/vueSystem/components/searchBtnView.js",
    "/vueSystem/components/filterSelect.js",
    "/vueSystem/mixins/datePickerOptionsMixin.js",
    "/vueSystem/mixins/tablePaginationMixin.js",
    "/vueSystem/models/baseModel.js"
  ]);
  importTableColShowConfigFiles();

</script>
<script src="../models/paymentModel.js"></script>
<script src="./advancePayment.js"></script>
<script src="./paymentForm.js"></script>
<script src="./balanceDetail.js"></script>
<script src="./materialSearchForm.js"></script>
<script src="./materialBalanceStat.js"></script>
<script src="./materialBalance.js"></script>

<script src="./outOrderSearchForm.js"></script>
<script src="./outOrderBalanceStat.js"></script>
<script src="./outOrderBalance.js"></script>

<script>
  var app = new Vue({
    el: '#app',
    data: function () {
      return {
        activeMenu: 'materialBalance',
        menus: [{
          label: '材料应付',
          name: 'materialBalance',
          url: 'material-balance'
        }, {
          label: '外协应付',
          name: 'outOrderBalance',
          url: 'out-order-balance'
        }]
      };
    },

    components: {
      MaterialBalance: MaterialBalance,
      OutOrderBalance: OutOrderBalance,
      MaterialBalanceStat: MaterialBalanceStat
    }
  });

</script>
<style>
  .in-balance {
    height: 100%;
    padding-left: 20px;
  }

</style>

</html>
